﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace Codeplus.Library.Constants
{
    public static  class Config
    {
        public static bool DebugMode
        {
            get { return ConfigurationManager.AppSettings[Constant.Configuration.DebugMode] == "true"; }
        }

        public static string ConnectionString
        {
            get { return ConfigurationManager.ConnectionStrings[Constant.Database.ConnectionStringFormat].ConnectionString; }
        }
    }
}
